package cnooc.energy.domain;


import cnooc.common.annotation.Excel;
import cnooc.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 设备点位配置对象 ems_device_data_location
 * 
 * @author lambda
 * @date 2023-11-28
 */
public class DeviceDataLocation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 设备ID */
    @Excel(name = "设备ID")
    private Long deviceId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;
    /** 名称 */
    private String deviceName;

    /** 对应点位 */
    @Excel(name = "对应点位")
    private Long correspond;

    /** 对点关系 */
    @Excel(name = "对点关系")
    private String calclation;
    /** 位置 */
    @Excel(name = "位置")
    private String location;
    /** 变比系数 */
    @Excel(name = "变比系数")
    private BigDecimal variationRatioCoefficient;

    /** 查询类型 */
    @Excel(name = "查询类型")
    private String queryClass;
    /** 设备状态 */
    @Excel(name = "设备状态")
    private String status;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setVariationRatioCoefficient(BigDecimal variationRatioCoefficient)
    {
        this.variationRatioCoefficient = variationRatioCoefficient;
    }

    public Long getCorrespond() {
        return correspond;
    }

    public void setCorrespond(Long correspond) {
        this.correspond = correspond;
    }

    public String getCalclation() {
        return calclation;
    }

    public void setCalclation(String calclation) {
        this.calclation = calclation;
    }

    public BigDecimal getVariationRatioCoefficient()
    {
        return variationRatioCoefficient;
    }
    public void setQueryClass(String queryClass)
    {
        this.queryClass = queryClass;
    }

    public String getQueryClass()
    {
        return queryClass;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceId", getDeviceId())
            .append("name", getName())
            .append("location", getLocation())
            .append("status", getStatus())
            .append("remarks", getRemarks())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
